package com.zhz.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author ：zhz
 * @date ：Created in 2021/01/03
 * @version: V1.0
 * @slogan: 天下风云出我辈，一入代码岁月催
 * @description:
 **/
@ApiModel(value = "登录成功的用户")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class LoginUser {
    @ApiModelProperty(value = "用户名称")
    private String username;

    @ApiModelProperty(value = "token的过期时间")
    private Long expire;

    @ApiModelProperty(value = "access_token")
    private String access_token;

    @ApiModelProperty(value = "refreshToken")
    private String refresh_token;
}
